-- GENERATED SPELL FOR [Tyrant Devilsaur] --


function spell0_6500(pUnit, Event) --@Terrifying Roar,Self--
pUnit:FullCastSpellOnTarget(14100,pUnit)
pUnit:RegisterEvent('Sorts_6500', 5255, 1)
end

function Sorts_6500(pUnit, Event)
local choix_sorts_6500 = math.random(0, 0)
if choix_sorts_6500 == 0 then
pUnit:RegisterEvent('spell0_6500', 1, 1)
end
end

function mob6500_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6500', math.random(1500, 3000), 1)
end

function mob6500_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6500_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6500_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6500, 1, 'mob6500_Action')
RegisterUnitEvent(6500, 2, 'mob6500_Leave')
RegisterUnitEvent(6500, 3, 'mob6500_Kill')
RegisterUnitEvent(6500, 4, 'mob6500_Die')
